package com.my.code.testcode.测试;

/**
 * 描述:
 * 测试
 *
 * @author 54485
 * @create 2018-09-17 17:17
 */
public class Main {

    public static void main(String[] args) {
        String a = "123";
        String b = "123";
        Object o = new Object();
        Object o1 = new Object();
//        System.out.println(a==b);
//        System.out.println(a.equals(b));
        System.out.println(o==o1);
        System.out.println(o.equals(o1));
    }
}
